# !/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :main.py
# @Time      :2022/5/27 0027 20:33
# @Author    :何胜利

from celery import Celery

app = Celery("MyWorker", broker="redis://127.0.0.1:6379/5",
             backend="redis://127.0.0.1:6379/6")

app.autodiscover_tasks(["common.tasks.send_code"])
